//
//  QWFViewController.m
//  QWFDeviceCheckLib
//
//  Created by ice on 03/05/2019.
//  Copyright (c) 2019 ice. All rights reserved.
//

#import "QWFViewController.h"

#import <QWFDeviceCheckLib/QWFUpdateCheck.h>

@interface QWFViewController ()

@end

@implementation QWFViewController

#pragma mark - < Life Cycle Methods >

- (void)viewDidLoad {
    [super viewDidLoad];
    [self commonInit];
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
}

- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
}


- (void)viewWillDisappear:(BOOL)animated {
    [super viewWillDisappear:animated];
}

- (void)viewDidDisappear:(BOOL)animated {
    [super viewDidDisappear:animated];
}

- (void)viewWillLayoutSubviews {
    [super viewWillLayoutSubviews];
}

- (void)viewDidLayoutSubviews {
    [super viewDidLayoutSubviews];
}

- (void)dealloc {
    
}

#pragma mark - < Getter >


#pragma mark - < Setter >


#pragma mark - < Logic逻辑代码 >


/**
 初始化
 */
- (void)commonInit {
    [self setupData];
    [self setupUI];
}


/**
 初始化数据
 */
- (void)setupData {
    
}


/**
 创建UI
 */
- (void)setupUI {
    
}



#pragma mark - < Actions控件响应事件 >

- (IBAction)updateCheckButtonClick:(id)sender {
    
    QWFUpdateCheck *check = [[QWFUpdateCheck alloc] init];
    check.modelName = @"B01";
    
    check.packageName = @"com.android.SmartWP.Manager";
    check.versionCode = @1;
    check.versionName = @"V1.0";
    
    check.firmwareVersionCode = @552;
    check.firmwareVersionName = @"5.1.1";


    [check deviceCheckUpdate];
}
#pragma mark - < Requests请求代码 >

#pragma mark - < Notification回调事件 >

#pragma mark - < Delegates代理方法 >

@end
